package com.yequan.work;

/**
 * @author yequan
 * @date 2021/12/09 09:47
 **/
public class CPResult {

    public int provinceID;
    public int cityId;
    public int districtID;
    public boolean isMain;

    public CPResult() {
    }

    public CPResult(int provinceID, int cityId, int districtID, boolean isMain) {
        this.provinceID = provinceID;
        this.cityId = cityId;
        this.districtID = districtID;
        this.isMain = isMain;
    }

    public int getProvinceID() {
        return provinceID;
    }

    public void setProvinceID(int provinceID) {
        this.provinceID = provinceID;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public int getDistrictID() {
        return districtID;
    }

    public void setDistrictID(int districtID) {
        this.districtID = districtID;
    }

    public boolean isIsMain() {
        return isMain;
    }

    public void setIsMain(boolean main) {
        isMain = main;
    }

    @Override
    public String toString() {
        return "CPResult{" +
                "provinceID=" + provinceID +
                ", cityId=" + cityId +
                ", districtID=" + districtID +
                ", isMain=" + isMain +
                '}';
    }
}
